package com.focus.xyz.other.pages.pingan;

/**
 * 文件常量定义
 * 
 * @author yuanchao
 * 
 */
public interface CarInsTypeConst {

	/** 交强险 */
	String INS_TRAFFIC_TYPE	= "Traffic";

	String ADDITINALRISK		= "additinalRisk";

	/**
	 *
	 */
	// 险种
	enum CarIns {
		Loss("Loss", "车辆损失险", "赔偿由于灾害和事故造成车辆本身的损失", 1),
		Third("Third", "商业第三者责任险", "赔偿第三者人身伤亡和财产直接损毁的损失", 2),
		Driver("Driver", "司机座位责任险", "赔偿保险车辆内司机人身伤亡", 3),
		Passenger("Passenger", "乘客座位责任险", "赔偿保险车辆内乘客人身伤亡", 4),
		Robbery("Robbery", "全车盗抢险", "赔偿由于盗抢造成的车辆损失或者零部件修复的费用", 5),
		Glass("Glass", "玻璃单独破碎险", "赔偿保险车辆挡风玻璃或车窗玻璃破碎的损失", 6),
		Scratch("Scratch", "车身划痕损失险", "赔偿保险车辆无明显碰撞痕迹的划痕的损失", 7),
		Combustion("Combustion", "自燃损失险", "赔偿车辆自燃造成的损失及必要合理的施救支出费用", 8),
		/**
		 * 这个是司机座位责任险和乘客座位责任险合并的险种，在这边没有使用。
		 */
		TalMember("TalMember", "车上人员责任险", "", 16),
		SpGlass("SpGlass", "玻璃单独破碎险", "赔偿保险车辆挡风玻璃或车窗玻璃破碎的损失", 17),
		// 涉水行驶损失险 即发动机特别损失险
		EngineLoss("EngineLoss", "涉水行驶损失险", "赔偿因本车电器、线路、供油系统发生故障及运载货物自身原因起火造成车辆本身的损失", 18),

		/**
		 * 不计免赔的分项必须使用"Sp"开头
		 */
		SpLoss("SpLoss", "车辆损失险", "", 9),
		SpThird("SpThird", "商业第三者责任险", "", 10),
		SpDriver("SpDriver", "司机座位责任险", "", 11),
		SpPassenger("SpPassenger", "乘客座位责任险", "", 12),
		SpRobbery("SpRobbery", "全车盗抢险", "", 13),
		SpScratch("SpScratch", "车身划痕损失险", "", 14),
		SpCombustion("SpCombustion", "自燃损失险", "", 15),
		SpEngineLoss("SpEngineLoss", "涉水行驶损失险", "赔偿因本车电器、线路、供油系统发生故障及运载货物自身原因起火造成车辆本身的损失", 19);
		CarIns(String code, String name, String desc, int sort) {
			this.code = code;
			this.name = name;
			this.desc = desc;
			this.sort = sort;

		}

		private String code;
		private String name;
		private String desc;
		private int		sort;

		public String getCode() {
			return code;
		}

		public int getSort() {
			return sort;
		}

		public void setSort(int sort) {
			this.sort = sort;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}

	}

	// 险种
	enum CarInsData {
		Loss_UnPolicy("0", "不投保", CarIns.Loss),
		Loss_Policy("-1", "足额投保", CarIns.Loss),
		Third_UnPolicy("0", "不投保", CarIns.Third),
		Third_5W("50000", "5万元", CarIns.Third),
		Third_10W("100000", "10万元", CarIns.Third),
		Third_15W("150000", "15万元", CarIns.Third),
		Third_20W("200000", "20万元", CarIns.Third),
		Third_30W("300000", "30万元", CarIns.Third),
		Third_50W("500000", "50万元", CarIns.Third),
		Third_100W("1000000", "100万元", CarIns.Third),
		Driver_UnPolicy("0", "不投保", CarIns.Driver),
		Driver_1W("10000", "1万元", CarIns.Driver),
		Driver_2W("20000", "2万元", CarIns.Driver),
		Driver_3W("30000", "3万元", CarIns.Driver),
		Driver_4W("40000", "4万元", CarIns.Driver),
		Driver_5W("50000", "5万元", CarIns.Driver),
		Driver_10W("100000", "10万元", CarIns.Driver),
		Passenger_UnPolicy("0", "不投保", CarIns.Passenger),
		Passenger_1W("10000", "1万元", CarIns.Passenger),
		Passenger_2W("20000", "2万元", CarIns.Passenger),
		Passenger_3W("30000", "3万元", CarIns.Passenger),
		Passenger_4W("40000", "4万元", CarIns.Passenger),
		Passenger_5W("50000", "5万元", CarIns.Passenger),
		Passenger_10W("100000", "10万元", CarIns.Passenger),
		Robbery_UnPolicy("0", "不投保", CarIns.Robbery),
		Robbery_Policy("-1", "投保", CarIns.Robbery),
		Glass_UnPolicy("0", "不投保", CarIns.Glass),
		Glass_Inland("1", "国产玻璃", CarIns.Glass),
		Glass_Overseas("2", "进口玻璃", CarIns.Glass),
		// Glass_Inland_Special("4", "国产特殊材质", CarIns.Glass),
		// Glass_Overseas_Special("5", "进口国产特殊材质", CarIns.Glass),
		Scratch_UnPolicy("0", "不投保", CarIns.Scratch),
		Scratch_2K("2000", "2000元", CarIns.Scratch),
		Scratch_5K("5000", "5000元", CarIns.Scratch),
		Scratch_1W("10000", "1万元", CarIns.Scratch),
		Scratch_2W("20000", "2万元", CarIns.Scratch),
		Combustion_UnPolicy("0", "不投保", CarIns.Combustion),
		Combustion_Policy("-1", "投保", CarIns.Combustion),
		SpLoss_UnPolicy("0", "不投保", CarIns.SpLoss),
		SpLoss_Policy("-1", "投保", CarIns.SpLoss),
		SpThird_UnPolicy("0", "不投保", CarIns.SpThird),
		SpThird_Policy("-1", "投保", CarIns.SpThird),
		SpDriver_UnPolicy("0", "不投保", CarIns.SpDriver),
		SpDriver_Policy("-1", "投保", CarIns.SpDriver),
		SpPassenger_UnPolicy("0", "不投保", CarIns.SpPassenger),
		SpPassenger_Policy("-1", "投保", CarIns.SpPassenger),
		SpRobbery_UnPolicy("0", "不投保", CarIns.SpRobbery),
		SpRobbery_Policy("-1", "投保", CarIns.SpRobbery),
		SpScratch_UnPolicy("0", "不投保", CarIns.SpScratch),
		SpScratch_Policy("-1", "投保", CarIns.SpScratch),
		SpCombustion_UnPolicy("0", "不投保", CarIns.SpCombustion),
		SpCombustion_Policy("-1", "投保", CarIns.SpCombustion),
		TalMember_UnPolicy("0", "不投保", CarIns.TalMember),
		TalMember_UPolicy("-1", "投保", CarIns.TalMember),
		EngineLoss_UnPolicy("0", "不投保", CarIns.EngineLoss),
		EngineLoss_Policy("-1", "投保", CarIns.EngineLoss),
		SpEngineLoss_UnPolicy("0", "不投保", CarIns.SpEngineLoss),
		SpEngineLoss_Policy("-1", "投保", CarIns.SpEngineLoss),

		SpGlass_UnPolicy("0", "不投保", CarIns.SpGlass),
		SpGlass_Inland("1", "国产玻璃", CarIns.SpGlass),
		SpGlass_Overseas("2", "进口玻璃", CarIns.SpGlass);
		// SpGlass_Inland_Special("4", "国产特殊材质", CarIns.SpGlass),
		// SpGlass_Overseas_Special("5", "进口国产特殊材质", CarIns.SpGlass);

		CarInsData(String code, String desc, CarIns carIns) {
			this.code = code;
			this.desc = desc;
			this.carIns = carIns;
		}

		private String code;
		private String desc;
		private CarIns	carIns;

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}

		public CarIns getCarIns() {
			return carIns;
		}

		public void setCarIns(CarIns carIns) {
			this.carIns = carIns;
		}

	}

}
